// 必须导出一个模块

import DefaultTheme from 'vitepress/theme'

import { AntDesignContainer, ElementPlusContainer, NaiveUIContainer } from '@vitepress-demo-preview/component'
import '@vitepress-demo-preview/component/dist/style.css'
// 添加 用于组件展示的 文件资源
import '@/style/index.css'
//  导入图标库
// fas 是图标组
import './custom.css'
import { library } from '@fortawesome/fontawesome-svg-core'
import { fas } from '@fortawesome/free-solid-svg-icons'

// 使用图标
library.add(fas)





export default {
  ...DefaultTheme,
  enhanceApp({ app }) {
    app.component('demo-preview', ElementPlusContainer)
  }
}